<template>
  <div>
    <business-table @edit="handleEdit" ref="businessTable" />
    <Business-modal ref="businessModal" />
  </div>
</template>

<script>
import BusinessTable from './BusinessTable'
import BusinessModal from '@/views/supplier/contact/ContactModal'

export default {
  components: {
    BusinessTable,
    BusinessModal
  },
  methods: {
    handleEdit(bool, row) {
      this.$refs.businessModal.edit(bool, row)
    }
  }
}
</script>

